package net.csdn.business.mirror.service;

import net.csdn.business.common.domain.mirror.MyGithubDto;
import net.csdn.business.common.domain.request.mirror.ListRepoDTO;
import net.csdn.business.common.domain.vo.mirror.MirrorNameSpaceVO;
import net.csdn.business.common.domain.vo.mirror.MirrorProjectPageVO;
import net.csdn.business.mirror.entity.bo.github.UserBO;

import java.util.List;

public interface ThirdApi {
    UserBO getUser(String token);

    void listUserAllRepos(MyGithubDto myGithub,String namespace, Integer page, Integer pageSize);

    List<MirrorNameSpaceVO> listUserNamespaces(String token, String thirdUsername) throws Exception;

    MyGithubDto.Repository userRepo(String token, String repoPath);


    MirrorProjectPageVO getALlRepos(ListRepoDTO params) throws Exception;
}
